package net.xdclass.component;

import net.xdclass.vo.PayInfoVO;

public class PayStrategyContext {
    private PayStrategy payStrategy;

    public PayStrategyContext(PayStrategy payStrategy) {
        this.payStrategy = payStrategy;
    }

    public String executeUnifiedorder(PayInfoVO payInfoVO) {
        return this.payStrategy.unifiedOrder(payInfoVO);
    }

    public String executeQueryPaySuccess(PayInfoVO payInfoVO) {
        return this.payStrategy.queryPaySuccess(payInfoVO);
    }
}
